import { BaseService } from "@/service/BaseService";
import { Post, Put, Delete, Get, requestBody, urlParameter, success,error } from "@/http/Http";



class LocalStoreService extends BaseService{
	
	@Get("/api/minio/mp/getLocalStore",true)
	list(@urlParameter parameter, @success success:(res)=>void){}
	
	@Delete("/api/minio/mp/deleteFile",true)
	deleteFile(@requestBody parameter, @success success:(res)=>void){}
	
	@Get("/mp/localStorage",true)
	listLocalStorage(@urlParameter parameter, @success success:(res)=>void){}
	
	@Post("/mp/localStorage",true)
	addLocalStorage(@requestBody parameter, @success success:(res)=>void){}
	
	@Delete("/mp/localStorage",true)
	delLocalStorage(@requestBody parameter, @success success:(res)=>void){}
	
	@Get("/mp/localStorage/presignedPostPolicy",true)
	presignedPostPolicy(@urlParameter parameter, @success success:(res)=>void){}
	
	@Get("/mp/localStorage/presignedGetObject",true)
	presignedGetObject(@urlParameter parameter, @success success:(res)=>void){}
	
}


export const localStoreService = new LocalStoreService()